﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;
using DTO;
using System.Data;


namespace BUS
{
    public class NXB_BUS
    {
        //Load NXB:
        public static DataTable LoadNXB()
        {
            return NXB_DAO.LoadDSNXB();
        }
        //ThemNXB:
        public static void ThemNXB(NXB_DTO nxb)
        {
            NXB_DAO.ThemNXB(nxb);
        }
        
        //SuaNXB:
        public static void SuaNXB(NXB_DTO sua)
        {
            NXB_DAO.SuaNXB(sua);
        }
        //XoaNXB:
        public static void XoaNXB(string ma)
        {
            NXB_DAO.XoaNXB(ma);
        }
        //TimTenNXB:
        public static DataTable TimNXB(string ten)
        {
            return NXB_DAO.TimTenNXB(ten);
        }
    }
}
